#include "mystdio.h"

int main()
{
    myFILE *fp = my_fopen("log.txt", "w");
    char *data = "hello world!!!";
    int len = strlen(data);
    my_fwrite(fp, data, len);
    my_fclose(fp);
    return 0;
}